package cn.pojo;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 个人订单实体类
 */
@Component
public class HealthOrderPerson {
    private Integer orderIdP; // 自增主键ID
    private String orderNoP; // 订单编号
    private String orderNoDateP; // 下单时间
    private String orderHospitalP; // 预约医院
    private String orderDateP; // 预约时间
    private String orderVaccineIdP; // 预约疫苗id
    private String orderUserId; // 预约用户openid
    private Integer orderStatusP; // 订单状态
    private Integer orderKindP; // 订单种类。 0：疫苗预约订单，1：检测预约订单

    public HealthOrderPerson() {
    }

    /**
     *
     * @param orderIdP 自增主键ID
     * @param orderNoP 订单编号
     * @param orderNoDateP 下单时间
     * @param orderHospitalP 预约医院
     * @param orderDateP 预约时间
     * @param orderVaccineIdP 预约疫苗id
     * @param orderUserId 预约用户openid
     * @param orderStatusP 订单状态
     * @param orderKindP 订单种类。 0：疫苗预约订单，1：检测预约订单
     */
    public HealthOrderPerson(Integer orderIdP, String orderNoP, String orderNoDateP, String orderHospitalP, String orderDateP, String orderVaccineIdP, String orderUserId, Integer orderStatusP, Integer orderKindP) {
        this.orderIdP = orderIdP;
        this.orderNoP = orderNoP;
        this.orderNoDateP = orderNoDateP;
        this.orderHospitalP = orderHospitalP;
        this.orderDateP = orderDateP;
        this.orderVaccineIdP = orderVaccineIdP;
        this.orderUserId = orderUserId;
        this.orderStatusP = orderStatusP;
        this.orderKindP = orderKindP;
    }

    public Integer getOrderIdP() {
        return orderIdP;
    }

    public void setOrderIdP(Integer orderIdP) {
        this.orderIdP = orderIdP;
    }

    public String getOrderNoP() {
        return orderNoP;
    }

    public void setOrderNoP(String orderNoP) {
        this.orderNoP = orderNoP;
    }

    public String getOrderNoDateP() {
        return orderNoDateP;
    }

    public void setOrderNoDateP(String orderNoDateP) {
        this.orderNoDateP = orderNoDateP;
    }

    public String getOrderHospitalP() {
        return orderHospitalP;
    }

    public void setOrderHospitalP(String orderHospitalP) {
        this.orderHospitalP = orderHospitalP;
    }

    public String getOrderDateP() {
        return orderDateP;
    }

    public void setOrderDateP(String orderDateP) {
        this.orderDateP = orderDateP;
    }

    public String getOrderVaccineIdP() {
        return orderVaccineIdP;
    }

    public void setOrderVaccineIdP(String orderVaccineIdP) {
        this.orderVaccineIdP = orderVaccineIdP;
    }

    public String getOrderUserId() {
        return orderUserId;
    }

    public void setOrderUserId(String orderUserId) {
        this.orderUserId = orderUserId;
    }

    public Integer getOrderStatusP() {
        return orderStatusP;
    }

    public void setOrderStatusP(Integer orderStatusP) {
        this.orderStatusP = orderStatusP;
    }

    public Integer getOrderKindP() {
        return orderKindP;
    }

    public void setOrderKindP(Integer orderKindP) {
        this.orderKindP = orderKindP;
    }

    @Override
    public String toString() {
        return "HealthOrderPerson{" +
                "orderIdP=" + orderIdP +
                ", orderNoP='" + orderNoP + '\'' +
                ", orderNoDateP=" + orderNoDateP +
                ", orderHospitalP='" + orderHospitalP + '\'' +
                ", orderDateP=" + orderDateP +
                ", orderVaccineIdP=" + orderVaccineIdP +
                ", orderUserId='" + orderUserId + '\'' +
                ", orderStatusP=" + orderStatusP +
                ", orderKindP=" + orderKindP +
                '}';
    }
}
